//
// Author: Vladimir Migashko <migashko@gmail.com>, (C) 2011
//
// Copyright: See COPYING file that comes with this distribution
//

#ifndef FASYS_FASYS_CSERVICE_CSERVICE_HPP
#define FASYS_FASYS_CSERVICE_CSERVICE_HPP

#include <fas/mux/imux.hpp>
#include "config.hpp"
#include "../ichannels.hpp"

namespace fasys{ namespace cservice{

class service;


class cservice
{
public:
  virtual ~cservice();
  cservice();
  void initialize(ichannels* chs);
  void start( fas::mux::imux<>* mux, const config& conf );
  void stop();
private:
  service* _service;
};

}}

#endif

